package com.code.wanmi.service.impl;

import com.code.wanmi.entity.wm_user.WmSysMenu;
import com.code.wanmi.mapper.WmSysMenuMapper;
import com.code.wanmi.service.IWmSysMenuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;

import org.springframework.stereotype.Service;

/**
 * <p>
 * 菜单权限表 服务实现类
 * </p>
 *
 * @author 谢晓峰
 * @since 2019-12-05
 */
@Service
public class WmSysMenuServiceImpl extends ServiceImpl<WmSysMenuMapper, WmSysMenu> implements IWmSysMenuService {

    @Autowired
    private WmSysMenuMapper wmSysMenuMapper;
    @Override
    public Integer deleteRole(long menu_id) {

        return wmSysMenuMapper.deleteRoleMenuByMenuId(menu_id);
    }

}
